package com.irdstudio.tdp.console.dao;

import java.util.List;

import com.irdstudio.tdp.console.dao.domain.PluginNlsJobConf;
import com.irdstudio.tdp.console.service.vo.PluginNlsJobConfVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * JAVA网贷系统作业插件配置的DAO类
 * </p>
 * @author szbd
 * @createDate 2020-06-22 14:35:19
 */
public interface PluginNlsJobConfDao {
    
    /**
     * 插入JAVA网贷系统作业插件配置记录
     * @param pluginNlsJobConf
     * @return
     */
    public int insertPluginNlsJobConf(PluginNlsJobConf pluginNlsJobConf);
    
    /**
     * 根据主键删除JAVA网贷系统作业插件配置记录
     * @param pluginNlsJobConf
     * @return
     */
    public int deletePluginNlsJobConfByPk(PluginNlsJobConf pluginNlsJobConf);
    
    /**
     * 根据主键更新JAVA网贷系统作业插件配置记录
     * @param pluginNlsJobConf
     * @return
     */
    public int updatePluginNlsJobConfByPk(PluginNlsJobConf pluginNlsJobConf);
    
    /**
     * 根据主键查询JAVA网贷系统作业插件配置记录
     * @param pluginNlsJobConf
     * @return
     */
    public PluginNlsJobConf queryPluginNlsJobConfByPk(PluginNlsJobConf pluginNlsJobConf);
    
    /**
     * 条件查询单笔JAVA网贷系统作业插件配置记录
     * @param pluginNlsJobConf
     * @return
     */
    public PluginNlsJobConf querySinglePluginNlsJobConfByCondition(PluginNlsJobConf pluginNlsJobConf);
    
    /**
     * 查询JAVA网贷系统作业插件配置记录
     * @param pluginNlsJobConf
     * @return
     */
    public List<PluginNlsJobConf> queryPluginNlsJobConfByCondition(PluginNlsJobConfVO pluginNlsJobConfVo);
    
    /**
     * 条件分页查询JAVA网贷系统作业插件配置记录
     * @param pluginNlsJobConf
     * @return
     */
    public List<PluginNlsJobConf> queryPluginNlsJobConfByConditionByPage(PluginNlsJobConfVO pluginNlsJobConfVo);
    
    /**
     * 业务选择展示列表
     * @param pluginId
     * @param taskId
     * @return
     */
    public List<PluginNlsJobConf> queryPluginNlsJobConf4Select(@Param("pluginId") Integer pluginId, @Param("taskId") String taskId);
    
}